using UnityEngine;

namespace Crosstales.OnlineCheck.Demo
{
    // [Assembly-CSharp-firstpass.dll].Crosstales.OnlineCheck.Demo.GUINetworkInfo
    public class GUINetworkInfo : MonoBehaviour
    {
        // Fields
        public UnityEngine.UI.Text Result;
        
        // Methods
        private void Start()
        {
            this.Refresh();
        }
        public void Refresh()
        {
            var val_9;
            var val_10;
            var val_11;
            bool val_1 = Crosstales.OnlineCheck.Util.NetworkInfo.isPlatformSupported;
            if((-1610604373) != 0)
            {
                    val_9 = -1610604373;
            }
            else
            {
                    val_9 = 0;
            }
            
            if(mem[536881491] == 0)
            {
                    throw new ArrayTypeMismatchException();
            }
            
            mem[536881499] = val_9;
            if(mem[536881491] <= 1)
            {
                    throw new ArrayTypeMismatchException();
            }
            
            mem[536881507] = Crosstales.OnlineCheck.Util.NetworkInfo.PublicIP;
            if((-1610610279) != 0)
            {
                    val_10 = -1610610279;
            }
            else
            {
                    val_10 = 0;
            }
            
            if(mem[536881491] <= 2)
            {
                    throw new ArrayTypeMismatchException();
            }
            
            mem[536881515] = val_10;
            if(mem[536881491] <= 3)
            {
                    throw new ArrayTypeMismatchException();
            }
            
            mem[536881523] = System.Environment.NewLine;
            if(mem[536881491] <= 4)
            {
                    throw new ArrayTypeMismatchException();
            }
            
            mem[536881531] = System.Environment.NewLine;
            if((-1610609889) != 0)
            {
                    val_11 = -1610609889;
            }
            else
            {
                    val_11 = 0;
            }
            
            if(mem[536881491] <= 5)
            {
                    throw new ArrayTypeMismatchException();
            }
            
            mem[536881539] = val_11;
            if(mem[536881491] <= 6)
            {
                    throw new ArrayTypeMismatchException();
            }
            
            mem[536881547] = System.Environment.NewLine;
            if(mem[536881491] <= 7)
            {
                    throw new ArrayTypeMismatchException();
            }
            
            mem[536881555] = Crosstales.ExtensionMethods.CTDump<System.Object>(list:  Crosstales.OnlineCheck.Util.NetworkInfo.getNetworkInterfaces(activeOnly:  false), prefix:  -1610612735, postfix:  -1610612735, appendNewLine:  true, delimiter:  -1610610343);
            string val_8 = +536881467;
            goto typeof(UnityEngine.UI.Text).__il2cppRuntimeField_5E8;
        }
        public GUINetworkInfo()
        {
        
        }
    
    }

}
